/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.ipccenter.toster;


import edu.ipccenter.toster.jpa.JPASession;
import edu.ipccenter.toster.jpa.JPAUser;
import java.math.BigInteger;
import java.util.Set;
import javax.ejb.Local;

/**
 *
 * @author 7
 */
@Local
public interface User {
    
    public JPAUser getDatum();
   
    public void setDatum(JPAUser user);
    
    public BigInteger getUserId();
    
    public String getUserName();
    
    public String getUserSurName();
    
    public void setUserName(String name);
    
    public void setUserSurName(String name);
    
   // public void setPassedSuite(Suite suite);
    
  //  public void setPassedSuites(Set<Suite> suite);
    
    public Set<Name> getQuestionSet();
    
    public Set<Answer> getAnswerSet();
    
    public Suite getRunTimeSuite();
    
    public Session getRunTimeSession();
    
    public void startSuite(Suite suite);
    
    public void endSuite();
    
    public Set<Session> getAllSessions();
           
    public void addAnswer(Answer ans);
    
    public void setSession(Session session);
    
    public Session getSession();
    
    public Set<Answer> getUserAnswers();
    
    
   
    
    
}
